<div class="panel panel-default clearfix">
	<div class=" panel-body">
		<div class="btn-group btn-block  pull-left">
			<%=link_to '创建新话题',new_topic_path,class: 'btn btn-primary'%>

			<button class="btn-primary btn dropdown-toggle" data-toggle="dropdown">
				<span class="caret"></span>
			</button>
			<ul class="dropdown-menu">
				<% Node.all.each do |node| %>
					<li><%= link_to node.name,new_topic_path(node: node.id)%></li>
				<%end%>
			</ul>
		</div>
	</div>
</div>

<% if current_user &&  current_user.new_leaguer?%>
	<div class="panel-default panel">
		<div class="panel-heading" style="padding: 2px 10px">
			新手必读
		</div>
		<div class=" panel-body">

		</div>
	</div>

<%end%>